<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>

</h:head>
<h:body>

	<ui:composition template="/WEB-INF/template/common.xhtml">
		<ui:define name="title">Quan ly thuc uong</ui:define>
		<ui:define name="content">
			<p>Quan ly do uong</p>
			<h:dataTable value="#{thucUongMgrController.thucUongs}" var="thucUong">
				<f:facet name="caption">
					<h:outputText>Danh sach thuc uong</h:outputText>
				</f:facet>
				<h:column>
					<f:facet name="header">
					<h:outputText value="ID"></h:outputText>
				</f:facet>
				<h:outputText value="#{thucUong.thucUongId}"></h:outputText>
				</h:column>
				<h:column>
					<f:facet name="header">
					<h:outputText value="Ten Thuc Uong"></h:outputText>
				</f:facet>
				<h:outputText value="#{thucUong.tenThucUong}"></h:outputText>
				</h:column>
				
			</h:dataTable>
			
		</ui:define>
	</ui:composition>
</h:body>
</html>